Micron Document




Parboiled (Java)
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
top
parboiled is an open-source Java library released under an Apache License. It provides support for defining PEG parsers directly in Java source code.cite-ref-2[2]cite-ref-3[3]

parboiled is commonly used as an alternative for regular expressions or parser generators (like ANTLR or JavaCC), especially for smaller and medium-size applications.

Apart from providing the constructs for grammar definition parboiled implements a complete recursive descent parser with support for abstract syntax tree construction, parse error reporting and parse error recovery.

Contents


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

References

cite-note-11. "Changelog". Parboiled. Mar 11, 2022. Retrieved Oct 20, 2024.
cite-note-22. citerefkumar2015Kumar, Jayant (2015). Apache Solr Search Patterns: Leverage the Power of Apache Solr to Power Up Your Business by Navigating Your Users to Their Data Quickly and Efficiently. Packt Publishing. p. 69. ISBN 9781783981854.
cite-note-33. citerefdarwin2014Darwin, Ian F. (2014). Java Cookbook: Solutions and Examples for Java Developers (3rd ed.). O'Reilly. p. 317. ISBN 9781449338824.

External links

• Official parboiled web site
• Example of a complete Java 6 parser written with parboiled